.PHONY:all
all:tcp_serve tcp_client

tcp_serve:main.cc
	g++ -o $@ $^ -std=c++14 -lpthread
tcp_client:tcp_client.cc
	g++ -o $@ $^ -std=c++14 -lpthread
.PHONY:clean
clean:
	rm -f tcp_serve tcp_client
